package com.usian.commom.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2023 11 30 13 56
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("t_residential_quarters")
public class ResidentialQuarters implements Serializable {


    @TableField(value = "name")
    private String name;

    @TableField(value = "cover_area")
    private String coverArea;

    @TableField(value = "build_area")
    private String buildArea;

    @TableField(value = "owners_number")
    private String ownersNumber;

    @TableField(value = "community_introduction")
    private String communityIntroduction;

    @TableField(value = "image_url")
    private String imageUrl;

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
}
